package com.design_pattern._03_behavioral._07_chain;

public interface V2Filter {
    void doFilter(Canned canned);
}


class CheckV2Filter implements V2Filter {
    public void doFilter(Canned canned) {
        System.out.println("100行代码，进行检查");
    }
}

class ClearV2Filter implements V2Filter {
    public void doFilter(Canned canned) {
        System.out.println("100行代码，进行清洗");
    }
}

class CutV2Filter implements V2Filter {
    public void doFilter(Canned canned) {
        System.out.println("100行代码，进行切片");
    }
}

class MakeV2Filter implements V2Filter {
    public void doFilter(Canned canned) {
        System.out.println("100行代码，进行制作罐头");
    }
}

class CloseV2Filter implements V2Filter {
    public void doFilter(Canned canned) {
        System.out.println("100行代码，进行封装");
    }
}

class StoreV2Filter implements V2Filter {
    public void doFilter(Canned canned) {
        System.out.println("100行代码，进行储备");
    }
}